﻿using System;
using System.Collections.Generic;
using Interface;

namespace Model
{
    public class NoteCollection
    {
        public List<Note> NoteCol { get; set; }

        public NoteCollection()
        {
            NoteCol = new List<Note>();
        }

        public Note Add(IFbmData did, double newValue, double oldValue, string ndescription, DateTime nUpdateDate, IOperator initials)
        {
            Note note = new Note(did, newValue, oldValue, ndescription, nUpdateDate,initials);
            NoteCol.Add(note);
            return note;
        }
    }
}